<?include("../../config/config.php");
$DM->loadClass("tracker","lang");
// create and instance class
$object_lang = new lang();
$object_lang->id_lang = array_key_exists("id_lang",$_POST)?$_POST["id_lang"]:""; 
$object_lang->txt_lang = array_key_exists("txt_lang",$_POST)?$_POST["txt_lang"]:""; 
if ($object_lang->save()){
	header("Location: lang.list.php");
}else{
	exit("Erro ao salvar lang");
}
?>
